<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" dir="ltr" lang="zh-CN">
<head>
	<title>OpenForEveryone首页</title>
	<meta http-equiv="Content-type" content="text/html; charset=utf-8" />
	<link rel="stylesheet" type="text/css" href="{:__TMPLPUB__}/Css/style.css" />
</head>
<body>
	 <div id="container">
		<div class="row">
			<div id="header">
				<div id="logo">
					OpenForEveryone
				</div>
				<div class="nav">
					<ul class="nav-tabs">
						<li class="active"><a href="{:Dyhb::U('public/index')}" target="content">首页</a></li>
						<li><a href="{:Dyhb::U('manage/configure')}" target="content">blog管理</a></li>
						<li><a href="{:Dyhb::U('public/index')}" target="content">文章管理</a></li>
						<li><a href="{:Dyhb::U('public/index')}" target="content">数据管理</a></li>
					</ul>
				</div>
				<div id="head">
					<ul>
						<li>你好, {$User.regname}</li>
						<li><a href="{:Dyhb::U('user/logout')}">[安全退出] </a></li>
						<li><a href="{:__ROOT__}" target="_black">站点首页</a></li>
					</ul>
				</div>
			</div>
		</div>
		<div id="middle">
			<div id="content">
				<iframe src="{:Dyhb::U('public/index')}" name="content" scrolling="yes" frameborder="0">
				</iframe>
			</div>
		</div>
	 </div>
	<div id="footer">
		<p>Copyright (C) 2012 Powered by <a href="http://www.doyouhaobaby.net/" target="_blank">DYHB 2.1</a></p>
	</div>
	<script type="text/javascript" src="{:__ROOT__}/Public/Js/jquery.js">
	</script>
	<script>
		$(document).ready(function(){
			$(".nav-tabs li").click(function(){
				var index=$(this).index;
				$(this).addClass("active").siblings().removeClass("active");
			});
		});
	</script>
</body>
</html>